<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>栏目名称</label>
              <span class=""></span>
              <input class="form-control" name="name" placeholder="请输入栏目名称" value="{$info['name']|default=''}" type="text">
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
              <label>分类</label>
              <span class="">（栏目分类）</span>
                <select name="pid" class="form-control">
                    <option value="0">顶级栏目</option>
                    {volist name='column_category_list' id='vo'}
                        <option value="{$vo.id}">{$vo.name}</option>
                    {/volist}
                    

                </select>
            </div>
          </div>
            
        <div class="col-md-6">
            <div class="form-group">
              <label>栏目排序</label>
              <span class=""></span>
                <input class="form-control" name="sort" placeholder="请输入序号" value="{$info['sort']|default=0}" type="text">
            </div>
        </div>
            
        <div class="col-md-6">
            <div class="form-group">
              <label>栏目URL</label>
              <span class=""></span>
                <input class="form-control" name="url" placeholder="请输入序号" value="{$info['url']|default=0}" type="text">
            </div>
        </div>
            
        <div class="col-md-6">
            <div class="form-group">
                <label>未点击时图片图标</label>
                <span class="">（建议上传 93 × 75 的图片,顶级栏目可不上传）</span>
                <br/>
                {assign name="hide_cover_id" value="$info.hide_cover_id|default='0'" /}
                {:widget('file/index', ['name' => 'hide_cover_id', 'value' => $hide_cover_id, 'type' => 'img'])}
            </div>
        </div>
            
        <div class="col-md-6">
            <div class="form-group">
                <label>点击时栏目图标</label>
                <span class="">（建议上传 93 × 75 的图片,顶级栏目可不上传）</span>
                <br/>
                {assign name="show_cover_id" value="$info.show_cover_id|default='0'" /}
                {:widget('file/index', ['name' => 'show_cover_id', 'value' => $show_cover_id, 'type' => 'img'])}
            </div>
        </div>
            
        <div class="col-md-6">
           <div class="form-group">
               <label>是否启用</label>
               <span>（若启用则在前台网页栏目栏中显示）</span>
               <div>
                   <label class="margin-r-5"><input type="radio" name="status" value="1"> 是</label>
                   <label><input type="radio" name="status"  value="0"> 否</label>
               </div>
           </div>
        </div>   
            
            
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
        
      </div>
        
      </div>
      </div>
</form>
<script type="text/javascript">
    
    ob.setValue("status", {$info.status|default=1});
    ob.setValue("pid", {$info.pid|default=0});
       
</script>